package com.relytosoft.mizar.media.analyze.api.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: zyc
 * @version: v1.0
 * @Date: 2022/5/12 18:02
 */
@ApiModel("AyStructureTaskUpdateDto")
public class AyFaceTaskUpdateDto implements Serializable {

    private static final long serialVersionUID = -7137185605838765198L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "任务ID",required = true)
    @NotNull(message = "任务ID不能为空")
    private Integer id;

    /**
     * 任务名称
     */
    @ApiModelProperty(value = "任务名称",required = true)
    @NotBlank(message = "任务名称不能为空")
    private String name;



    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;


    /**
     * 获得主键
     */
    public Integer getId(){
        return this.id;
    }
    /**
     * 设置主键
     */
    public void setId(Integer id){
        this.id = id;
    }

    /**
     * 获得任务名称
     */
    public String getName(){
        return this.name;
    }
    /**
     * 设置任务名称
     */
    public void setName(String name){
        this.name = name;
    }


    /**
     * 获得备注
     */
    public String getRemark(){
        return this.remark;
    }
    /**
     * 设置备注
     */
    public void setRemark(String remark){
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "AyFaceTaskUpdateDto{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
